package org.ahuanlien.crm.mapper;

import java.util.List;
import org.ahuanlien.crm.domain.Company;
import org.ahuanlien.crm.query.CompanyQueryObject;

public interface CompanyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Company record);

    Company selectByPrimaryKey(Long id);

    List<Company> selectAll();

    int updateByPrimaryKey(Company record);

    void changeState(Long id);

    int queryForCount();

    List<Company> queryForList(CompanyQueryObject qo);
}